package cc.spider.web.config;

import cc.spider.web.model.http.RequestExt;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class Task extends RequestExt implements Serializable {
    private HashMap<String, DataRule> dataRule = new HashMap<>();
    private List<LinkRule> linkRule = new ArrayList<>();

    private String nextTask;

    public HashMap<String, DataRule> getDataRule() {
        return dataRule;
    }

    public void setDataRule(HashMap<String, DataRule> dataRule) {
        this.dataRule = dataRule;
    }

    public List<LinkRule> getLinkRule() {
        return linkRule;
    }

    public void setLinkRule(List<LinkRule> linkRule) {
        this.linkRule = linkRule;
    }

    public String getNextTask() {
        return nextTask;
    }

    public void setNextTask(String nextTask) {
        this.nextTask = nextTask;
    }
}
